Formal Language and Application
نویسندگان
چکیده
eb is a trace-based formal language created for the specification of information systems (IS). In this technical report, we present the eb formal language for attribute definitions. Attributes, linked to entities and associations of an IS, are computed in eb by recursive functions on the valid traces of the system. The syntax and the main properties of the language are introduced. Then, we aim at synthesizing imperative programs that correspond to eb attribute definitions. Thus, each eb action is translated into a transaction. eb attribute definitions are analysed to determine the tables and the key values affected by each action. Some key values are determined from SELECT statements that correspond to first-order predicates in eb attribute definitions. To avoid inconsistencies because of the sequencing of SQL statements in the transactions, temporary variables and/or tables are introduced for these key values. We show the main patterns for the SELECT statements used in the temporary variables and/or tables. The SQL statements are then ordered by table. Generation of DELETE statements is straightforward, and tests are defined in the transactions to distinguish updates from insertions of tuples. Our algorithms are illustrated by an example of a library management system. Finally, we briefly present the tool called ebtg, which implements the algorithms introduced in this report. 2 F. Gervais, M. Frappier, R. Laleau, and P. Batanado
منابع مشابه
Mobile, L2 vocabulary learning, and fighting illiteracy: A case study of Iranian semi-illiterates beyond transition level
As mobile learning simultaneously employs both handheld computers and mobile telephones and other devices that draw on the same set of functionalities, it throws open the door for swift connection between learners and teachers. This study examined and articulated the impact of the application of mobile devices for teaching English vocabulary items to 123 Iranian semi-illitera...
متن کاملHow does Explicit and Implicit Instruction of Formal Meta-discourse Markers Affect Learners’ Writing Skills?
Discourse markers improve both the quality and comprehension of a written text. This study aimed at investigating the effect of explicit and implicit instruction of formal meta-discourse markers on writ- ing skills. The quantitative data were collected from 90 upper-intermediate students at Shiraz Univer- sity Language Center. Two experimental groups went through an instruction, while the contr...
متن کاملModeling and Evaluation of Stochastic Discrete-Event Systems with RayLang Formalism
In recent years, formal methods have been used as an important tool for performance evaluation and verification of a wide range of systems. In the view points of engineers and practitioners, however, there are still some major difficulties in using formal methods. In this paper, we introduce a new formal modeling language to fill the gaps between object-oriented programming languages (OOPLs) us...
متن کاملModeling and Evaluation of Stochastic Discrete-Event Systems with RayLang Formalism
In recent years, formal methods have been used as an important tool for performance evaluation and verification of a wide range of systems. In the view points of engineers and practitioners, however, there are still some major difficulties in using formal methods. In this paper, we introduce a new formal modeling language to fill the gaps between object-oriented programming languages (OOPLs) us...
متن کاملConstruction, Validation, and Application of a Teacher Status Scale (TSS): A Case of Iranian Junior High School Teachers
The role of teachers in the educational context could go beyond simply teaching the subject matter. It is not uncommon for some students to be greatly influenced by certain teachers and even consider them as their role models. An interesting and novel way of inferring the impact a teacher has on the students is through revealing the status of the teacher as perceived by the students. The presen...
متن کاملInterrelationships between Language and Literature from Old English to the Modern Period
Literature is the aesthetic manifestation of language. It is ‘as old as human language and as new as tomorrow’s sunrise.’ This paper explores the interrelationships between language and literature from 600 AD to the present day. The grammar of present-day English is closely related to that of Old English with the same tense formation and word orders. The verse unit is a single line and its org...
متن کامل